package com.xky.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 供应商实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Supplier {
    private Integer supplierId; // 供应商ID
    private String supplierCode;//供应商编码
    private String supplierName; // 供应商名称
    private String contactName; // 联系人姓名
    private String contactPhone; // 联系人电话
    private String contactEmail; // 联系人邮箱
    private String address; // 地址
    private Boolean isActive; // 是否激活
    private LocalDateTime createdTime = LocalDateTime.now(); // 创建时间
    private LocalDateTime updatedTime = LocalDateTime.now(); // 更新时间
    

    @Override
    public String toString() {
        return supplierName;
    }
} 